import request from '@/utils/request';

export function listSciences(data) {
	return request({
		url: '/youlai-system/science/list',
		method: 'post',
		data: data,
	})
}

export function likeScience(scId){
	return request({
		url: `/youlai-system/science/likeScience/${scId}`,
		method: 'get',	
	})
}

export function favoriteScience(scId,isFavorite){
	return request({
		url: `/youlai-system/science/favoriteScience/${scId}/${isFavorite}`,
		method: 'get',
	})	
}